<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>创建出库单据 - WMS仓库管理系统</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
    <div class="container">
        <!-- 登录界面 -->
        <section id="loginSection" class="login-section">
            <div class="login-container">
                <h2>WMS仓库管理系统登录</h2>
                <form id="loginForm">
                    <div class="form-group">
                        <label for="username">用户名:</label>
                        <input type="text" id="username" required>
                    </div>
                    <div class="form-group">
                        <label for="password">密码:</label>
                        <input type="password" id="password" required>
                    </div>
                    <button type="submit" class="btn-primary">登录</button>
                    <p>默认管理员账号: admin / 123456</p>
                </form>
            </div>
        </section>

        <!-- 主内容界面 -->
        <div id="mainContent" class="main-content">
            <header>
                <h1>创建出库单据</h1>
                <p>填写以下信息创建新的出库单据</p>
                <div class="header-actions">
                    <button id="backBtn" class="btn-secondary">返回单据管理</button>
                    <button id="logoutBtn" class="btn-secondary">退出登录</button>
                </div>
            </header>

            <main>
                <section class="form-section">
                    <h2>出库单据信息</h2>
                    <form id="outboundForm">
                        <div class="form-group">
                            <label for="goodsId">货物ID:</label>
                            <input type="number" id="goodsId" required>
                        </div>
                        <div class="form-group">
                            <label for="customer">客户:</label>
                            <input type="text" id="customer" required>
                        </div>
                        <div class="form-group">
                            <label for="quantity">数量:</label>
                            <input type="number" id="quantity" min="1" value="1" required>
                        </div>
                        <div class="form-group">
                            <label for="expectedPickupDate">预计提货日期:</label>
                            <input type="date" id="expectedPickupDate" required>
                        </div>
                        <div class="form-group">
                            <label for="operator">操作员:</label>
                            <input type="text" id="operator">
                        </div>
                        <div class="form-group">
                            <label for="notes">备注:</label>
                            <textarea id="notes" rows="3"></textarea>
                        </div>
                        <button type="submit" class="btn-primary">创建出库单据</button>
                        <button type="button" id="resetBtn" class="btn-secondary">重置</button>
                    </form>
                </section>
            </main>
        </div>
    </div>

    <script src="js/outbound.js"></script>
</body>
</html>